package collection;

public class BinTreeNodeWithIndex<E> extends ABinTreeNode<E>{

	int index;
	
	public BinTreeNodeWithIndex(E element) 
	{
		super(element);
	}

	public BinTreeNodeWithIndex(E element, int index)
	{
		super(element);
		this.index = index;
	}
	
	public int getIndex()
	{
		return this.index;
	}
	
	public void setIndex(int index)
	{
		this.index = index;
	}
	
}
